<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>添加学校</title>
		<link  rel="stylesheet" href="./css/index.css" type="text/css" />
		<style>
		   .main div{
				width: 300px;
			/* 	border: 1px solid gray;*/
				border-radius: 5px; 
				padding: 5px;
				margin: 3px;
				
			}
			input,textarea{
				width: 170px;
				line-height: 25px;
			}
			label{
				width: 120px;
				vertical-align: top;
				line-height: 25px;
			}
			.main div:last-child{
				text-align: right;
			}
			.main div:last-child input{
				width: 80px;
			}
			.menu,.main{
				float: left;
				padding: 10px;
			}
			.menu{
				width: 200px;
				border-right:3px solid gray ;
			}
			.menu li{
				margin: 5px;
				padding: 3px;
			}
			.main{
				margin-left: 100px;
			}
		</style>
	</head>
	<body>
		<h1>华清远见班级管理系统
		    <h4>${admin }，welcome!</h4>
		</h1>
		<hr>
		<div>
			<div class="menu">
				<h3>班级管理</h3>
				<ul>
					<li class="active"><a href="toAddClass.cs">添加班级</a></li>
					<li><a href="listClass.cs">查询班级</a></li>
				</ul>
				<h3>学生管理</h3>
				<ul>
					<li><a href="toAddStu.cs">添加学生</a></li>
					<li><a href="listStu.cs">查询学生</a></li>
				</ul>
				<h3>退出系统</h3>
				<ul>
					<li><a href="#">退出系统</a></li>
				</ul>
			</div>
			<div class="main">
				<form action="addClass.cs" method="get">
					<div>
						<label>班级名字:</label>
						<input type="text" name="className" />
					</div>
					<div>
						<label>班级介绍:</label>
						<textarea name="classIntroduce" cols="21" rows="2"></textarea>
					</div>
					<div>
						<label>开班日期:</label>
						<input type="text" name="classBirth" />
					</div>
					<div>
						<label>班级状态:</label>
						<select name="classState">
							<option value="已毕业">已毕业</option>
							<option value="未毕业">未毕业</option>
						</select>
					</div>
					<div>
						<label>课程方向:</label>
						<select name="classDirection">
							<option value="java">java</option>
							<option value="嵌入式">嵌入式</option>
							<option value="前端">前端</option>
						</select>
					</div>
					<div>
						<label>班级人数:</label>
						<input type="text" name="classCount">
					</div>
					<div>
						<input type="submit" value="提交" />
						<input type="reset" value="重置" />
					</div>
				</form>
			</div>
		</div>
		
	</body>
</html>
